Jigoshop\Entity\Product\Variable S

Total Complexity 41
Dependencies 7
Dependents 18
Total lines 295
Lines of code 144
Logical lines of code 79
Comment lines 85
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
getAssignedVariableAttributes()
A
50 9 29
restoreState()
S
57 6 18
removeVariation()
S
67 2 8
getVariation()
S
71 2 6
getLowestPrice()
S
69 2 6
getHighestPrice()
S
69 2 6
isShippable()
S
69 2 6
setSales()
S
68 2 7
getVariableAttributes()
S
72 2 5
__construct()
S
75 1 4
getDefaultVariationId()
S
82 1 3
getState()
S
71 1 6
markAsDirty()
S
76 1 4
getStateToSave()
S
65 1 9
getSales()
S
82 1 3
setDefaultVariation()
S
81 1 3
getType()
S
81 1 3
getVariations()
S
82 1 3
hasVariation()
S
79 1 3
addVariation()
S
79 1 3
jsonSerialize()
S
65 1 9